<service filepath="service/comp/wxapi/mp.service.m">
	<uses/>
	
	<action name="domainVertify" impl="">
		<label language="zh-CN">网页授权安全域名校验</label>
		<description language="zh-CN">微信网页授权安全域名校验</description>
		<param>
			<field name="fileName" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/domain/vertify">
				<param name="fileName" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="authCallBack" impl="">
		<label language="zh-CN">微信用户登录授权回调</label>
		<description language="zh-CN">微信用户登录授权回调</description>
		<param>
			<field name="code" dataType="String" requestType="basic"/>
			<field name="redirect_uri" dataType="String" requestType="basic"/>
		</param>
		<reply/>
		<http>
			<request method="GET" url="/oauth2/authCallBack">
				<param name="code" kind="RequestParam"/>
				<param name="redirect_uri" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="buildAuthorizationUrl" impl="">
		<label language="zh-CN">生成微信用户授权登录url地址</label>
		<description language="zh-CN">生成微信用户授权登录url地址</description>
		<param>
			<field name="redirectUri" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/oauth2/buildAuthorizationUrl">
				<param name="redirectUri" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="longUrl2ShortUrl" impl="">
		<label language="zh-CN">长链接转短链接</label>
		<description language="zh-CN">长链接转短链接</description>
		<param>
			<field name="url" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/utils/shorturl">
				<param name="url" kind="RequestParam" required="false"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="qrcode" impl="">
		<label language="zh-CN">微信用户登录授权回调</label>
		<description language="zh-CN">微信用户登录授权回调</description>
		<param>
			<field name="sceneId" dataType="Integer" requestType="basic"/>
			<field name="sceneStr" dataType="String" requestType="basic"/>
			<field name="expireSeconds" dataType="Integer" requestType="basic"/>
			<field name="qrcodeType" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/qrcode">
				<param name="sceneId" kind="RequestParam" defaultValue="-1"/>
				<param name="sceneStr" kind="RequestParam" defaultValue="-1"/>
				<param name="expireSeconds" kind="RequestParam" defaultValue="180"/>
				<param name="qrcodeType" kind="RequestParam" defaultValue="TEMP"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	
	<action name="templates" impl="">
		<label language="zh-CN">获取微信公众号消息模板</label>
		<description language="zh-CN">获取微信公众号消息模板</description>
		<param>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/templates">
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="templateSend" impl="">
		<label language="zh-CN">给用户下发模板消息</label>
		<description language="zh-CN">给用户下发模板消息</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/template">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="templateDelete" impl="">
		<label language="zh-CN">消息模板删除</label>
		<description language="zh-CN">消息模板删除</description>
		<param>
			<field name="templateId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/template">
				<param name="templateId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getUserInfoByOpenid" impl="">
		<label language="zh-CN">微信用户信息获取</label>
		<description language="zh-CN">微信用户信息获取</description>
		<param>
			<field name="openid" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/user/userInfo">
				<param name="openid" kind="RequestParam" required="false" defaultValue="openid"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getOauth2UserInfo" impl="">
		<label language="zh-CN">授权登录获取用户信息</label>
		<description language="zh-CN">授权登录获取用户信息</description>
		<param>
			<field name="type" dataType="String" requestType="basic"/>
			<field name="code" dataType="String" requestType="basic"/>
			<field name="lang" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/oauth2/userInfo">
				<param name="type" kind="RequestParam"/>
				<param name="code" kind="RequestParam"/>
				<param name="lang" kind="RequestParam" defaultValue="zh_CN"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getJsapiSignature" impl="">
		<label language="zh-CN">JSAPI签名获取</label>
		<description language="zh-CN">JSAPI签名获取</description>
		<param>
			<field name="url" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/jsapi/signature">
				<param name="url" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="menuCreate" impl="">
		<label language="zh-CN">微信自义菜单创建</label>
		<description language="zh-CN">微信自义菜单创建</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/menu">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="menuDelete" impl="">
		<label language="zh-CN">微信自定义菜单删除</label>
		<description language="zh-CN">微信自定义菜单删除</description>
		<param>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/menu">
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getMenus" impl="">
		<label language="zh-CN">微信自定义菜单获取</label>
		<description language="zh-CN">微信自定义菜单获取</description>
		<param>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/menus">
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="sendMessage" impl="">
		<label language="zh-CN">微信客服消息发送</label>
		<description language="zh-CN">微信客服消息发送</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/kefu/message/send">
				<param name="data" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="wxeventGet" impl="">
		<label language="zh-CN">微信公号消息推送事件</label>
		<description language="zh-CN">微信公众号消息推送时间</description>
		<param/>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/event">
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="wxeventPost" impl="">
		<label language="zh-CN">微信公众号消息推送事件</label>
		<description language="zh-CN">微信公众号消息推送事件</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/event">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="createCard" impl="">
		<label language="zh-CN">卡券创建</label>
		<description language="zh-CN">卡券创建</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="createSignature" impl="">
		<label language="zh-CN">卡券签名</label>
		<description language="zh-CN">卡券签名</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card/signature">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="decryptCode" impl="">
		<label language="zh-CN">卡券code解码</label>
		<description language="zh-CN">卡券code解码</description>
		<param>
			<field name="encryptCode" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/decrypt/code">
				<param name="encryptCode" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="consumeCard" impl="">
		<label language="zh-CN">卡券核销</label>
		<description language="zh-CN">卡券核销</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card/consume">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardDetail" impl="">
		<label language="zh-CN">卡券详情</label>
		<description language="zh-CN">卡券详情</description>
		<param>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/detail">
				<param name="cardId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardDelete" impl="">
		<label language="zh-CN">卡券删除</label>
		<description language="zh-CN">卡券删除</description>
		<param>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/card">
				<param name="cardId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardCodeQuery" impl="">
		<label language="zh-CN">卡券code查询</label>
		<description language="zh-CN">卡券code查询</description>
		<param>
			<field name="code" dataType="String" requestType="basic"/>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/code/query">
				<param name="code" kind="RequestParam"/>
				<param name="cardId" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<!-- 
	<action name="initCommondRedpack" impl="">
		<label language="zh-CN">口令红包初始化</label>
		<description language="zh-CN">口令红包初始化</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/redpack/initCommondRedpack">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	 -->
	<action name="redpackSend" impl="">
		<label language="zh-CN">发送微信红包(普通红包/裂变红包)</label>
		<description language="zh-CN">发送微信红包(普通红包/裂变红包)</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/redpack">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<!-- 
	<action name="commondRedpackSend" impl="">
		<label language="zh-CN">发送微信红包(口令红包)</label>
		<description language="zh-CN">发送微信红包(口令红包)</description>
		<param>
			<field name="commondCode" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/redpack/commondRedpack">
				<param name="commondCode" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	 -->
	
	<action name="redpackGet" impl="">
		<label language="zh-CN">红包查询</label>
		<description language="zh-CN">红包查询</description>
		<param>
			<field name="commondCode" dataType="String" requestType="basic"/>
			<field name="mchBillNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/redpack">
				<param name="commondCode" kind="RequestParam" defualtValue="-1"/>
				<param name="mchBillNo" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="payNotify" impl="">
		<label language="zh-CN">支付成功通知</label>
		<description language="zh-CN">支付成功通知</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/notify">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refundNotify" impl="">
		<label language="zh-CN">退款成功通知</label>
		<description language="zh-CN">退款成功通知</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/refund/notify">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="unifiedOrder" impl="">
		<label language="zh_CN">统一下单</label>
		<description language="zh-CN">统一下单</description>
		<param>
			<field name="orderData" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/unifiedOrder">
				<param name="orderData" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryOrder" impl="">
		<label language="zh_CN">订单查询</label>
		<description language="zh-CN">订单查询</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
			<field name="transactionId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/queryOrder">
				<param name="outTradeNo" kind="RequestParam" defaultValue="-1"/>
				<param name="transactionId" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="closeOrder" impl="">
		<label language="zh_CN">订单关闭</label>
		<description language="zh-CN">订单关闭</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/closeOrder">
				<param name="outTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refund" impl="">
		<label language="zh_CN">申请退款</label>
		<description language="zh-CN">申请退款</description>
		<param>
			<field name="refundData" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/refund">
				<param name="refundData" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refundQuery" impl="">
		<label language="zh_CN">退款查询</label>
		<description language="zh-CN">退款查询</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
			<field name="transactionId" dataType="String" requestType="basic"/>
			<field name="outRefundNo" dataType="String" requestType="basic"/>
			<field name="refundId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/refund">
				<param name="outTradeNo" kind="RequestParam" defaultValue="-1"/>
				<param name="transactionId" kind="RequestParam" defaultValue="-1"/>
				<param name="outRefundNo" kind="RequestParam" defaultValue="-1"/>
				<param name="refundId" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="downloadBill" impl="">
		<label language="zh_CN">对账单查询(下载)</label>
		<description language="zh-CN">对账单查询(下载)</description>
		<param>
			<field name="billDate" dataType="String" requestType="basic"/>
			<field name="billType" dataType="String" requestType="basic"/>
			<field name="tarType" dataType="String" requestType="basic"/>
			<field name="deviceInfo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/downloadBill">
				<param name="billDate" kind="RequestParam" />
				<param name="billType" kind="RequestParam" defaultValue="ALL"/>
				<param name="tarType" defaultValue="GZIP" kind="RequestParam" />
				<param name="deviceInfo" defaultValue="-1" kind="RequestParam" />
			</request>
		</http>
	</action>
	
	<action name="entPay" impl="">
		<label language="zh_CN">企业付款至微信个人零钱账户</label>
		<description language="zh-CN">企业付款至微信个人零钱账户</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/entpay">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryEntPay" impl="">
		<label language="zh_CN">企业付款至微信个人零钱账户订单查询</label>
		<description language="zh-CN">企业付款至微信个人零钱账户订单查询</description>
		<param>
			<field name="partnerTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/entpay">
				<param name="partnerTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="entPayBank" impl="">
		<label language="zh_CN">企业付款至银行卡</label>
		<description language="zh-CN">企业付款至银行卡</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/entpay/bank">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryEntPayBank" impl="">
		<label language="zh_CN">企业付款至银行卡订单查询</label>
		<description language="zh-CN">企业付款至银行卡订单查询</description>
		<param>
			<field name="partnerTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/entpay/bank">
				<param name="partnerTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="addMaterial" impl="">
		<label language="zh_CN">新增其他类型永久素材</label>
		<description language="zh-CN">新增其他类型永久素材</description>
		<param>
			<field name="materialVo" dataType="MaterialVo" requestType="quote"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/material">
				<param name="materialVo" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="addNewsMaterial" impl="">
		<label language="zh_CN">新增永久图文消息素材</label>
		<description language="zh-CN">新增永久图文消息素材</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/material/news">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getMaterial" impl="">
		<label language="zh_CN">获取永久素材</label>
		<description language="zh-CN">获取永久素材</description>
		<param>
			<field name="mediaId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/material">
				<param name="mediaId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="updateMaterial" impl="">
		<label language="zh_CN">修改永久图文素材</label>
		<description language="zh-CN">修改永久图文素材</description>
		<param>
			<field name="mediaId" dataType="String" requestType="basic"/>
			<field name="index" dataType="Integer" requestType="basic"/>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="PUT" url="/material/news">
				<param name="mediaId" kind="PathVariable"/>
				<param name="index" kind="PathVariable"/>
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="delMaterial" impl="">
		<label language="zh_CN">删除永久素材</label>
		<description language="zh-CN">删除永久素材</description>
		<param>
			<field name="mediaId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/material">
				<param name="mediaId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="materialCount" impl="">
		<label language="zh_CN">获取永久素材总数</label>
		<description language="zh-CN">获取永久素材总数</description>
		<param>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/material/count">
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="addTempMaterial" impl="">
		<label language="zh_CN">新增临时素材</label>
		<description language="zh-CN">新增临时素材</description>
		<param>
			<field name="materialVo" dataType="MaterialVo" requestType="quote"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/material/temp">
				<param name="materialVo" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getTempMaterial" impl="">
		<label language="zh_CN">获取临时素材</label>
		<description language="zh-CN">获取临时素材</description>
		<param>
			<field name="mediaId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/material/temp">
				<param name="mediaId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="materialUploadimg" impl="">
		<label language="zh_CN">上传图文消息图片获取图片url</label>
		<description language="zh-CN">上传图文消息图片获取图片url</description>
		<param>
			<field name="materialVo" dataType="MaterialVo" requestType="quote"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/material/uploadimg">
				<param name="materialVo" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="materials" impl="">
		<label language="zh_CN">永久素材列表</label>
		<description language="zh-CN">永久素材列表</description>
		<param>
			<field name="pageNum" dataType="Integer" requestType="basic"/>
			<field name="pageSize" dataType="Integer" requestType="basic"/>
			<field name="type" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/materials">
				<param name="pageNum" kind="RequestParam" defaultValue="1"/>
				<param name="pageSize" kind="RequestParam" defaultValue="20"/>
				<param name="type" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
</service>